package com.example.mysqlview;

import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;

public class FruitViewHolder extends RecyclerView.ViewHolder {
    TextView tvId, tvName, tvPrice, tvUpdate;
    ImageView ivDel;

    public FruitViewHolder(@NonNull View itemView) {
        super(itemView);

        tvId = itemView.findViewById(R.id.tv_id);
        tvName = itemView.findViewById(R.id.tv_name);
        tvPrice = itemView.findViewById(R.id.tv_price);
        ivDel = itemView.findViewById(R.id.iv_del);
        tvUpdate = itemView.findViewById(R.id.tv_update);
    }
}
